package it.polimi.swim.session;

import it.polimi.swim.entity.Friend;
import it.polimi.swim.entity.SystemUser;

import java.util.List;

import javax.ejb.Remote;

@Remote
public interface FriendManagerBeanRemote {
	
	public SystemUser addFriend(int idSender, int idReceiver);
	
	public SystemUser setFriendshipRequest(int idSender, int Receiver, String status);
	
	public List<SystemUser>viewFriendshipRequest(int idUser);
	
	public List<SystemUser> showFriends(int idUser);

	public void createFriendRequest(SystemUser sender, SystemUser receiver);

	public List<SystemUser> showMyFriendshipRequest(int idUser);

	public List<SystemUser> showOtherFriendshipRequest(int id);

	public void acceptFriendship(int idReceiver, int idSender);
}
